//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.ruoyi.system.service;

import com.ruoyi.system.api.domain.SysDept;
import com.ruoyi.system.domain.vo.TreeSelect;
import java.util.List;

public interface ISysDeptService {
    List<SysDept> selectDeptList(SysDept var1);

    List<SysDept> buildDeptTree(List<SysDept> var1);

    List<TreeSelect> buildDeptTreeSelect(List<SysDept> var1);

    List<Long> selectDeptListByRoleId(Long var1);

    SysDept selectDeptById(Long var1);

    int selectNormalChildrenDeptById(Long var1);

    boolean hasChildByDeptId(Long var1);

    boolean checkDeptExistUser(Long var1);

    String checkDeptNameUnique(SysDept var1);

    void checkDeptDataScope(String var1);

    int insertDept(SysDept var1);

    int updateDept(SysDept var1);

    int deleteDeptById(Long var1);
    /**
     * 查询部门树结构信息
     *
     * @param dept 部门信息
     * @return 部门树信息集合
     */
    public List<TreeSelect> selectDeptTreeList(SysDept dept);
}
